package com.lhy.mapper;

import com.lhy.entity.Student;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Update;

/**
 * <p>
 * 学生表 Mapper 接口
 * </p>
 *
 * @author jobob
 * @since 2021-03-09
 */
public interface StudentMapper extends BaseMapper<Student> {
    @Update("update student set studentName = #{name} where studentNo = #{studentNo}")
    int updateStudnetName(String name, Integer studentNo);
}
